#!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
@author: wang_chao03
@project: pyraft
@file: __init__.py
@time: 2023/2/27
"""

from pyraft.server import start, stop
from pyraft.state import State
from pyraft.config import settings

__all__ = ('start', 'stop', 'settings', 'get_leader', 'wait_until_leader')


get_leader = State.get_leader
wait_until_leader = State.wait_until_leader
